<?php
session_start();

if (isset($_SESSION['user']))
{
	header('Location: category.php');
}
else
{
	header('Location: login.php');
}
?>